/**
 * Copyright (c) 2002-2011 旭鸣信息
 * All rights reserved. 
 * File：SysWebCfgService.java
 * History:
 *       Apr 16, 2012: Initially created, liuzhi.
 */
package com.xteam.ecsystem.service.admin;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xteam.ecsystem.dao.ISysWebCfgDao;
import com.xteam.ecsystem.entities.SysWebConfig;

/**
 * 前端配置业务管理层
 * @author liuzhi
 *
 */
@Service
public class SysWebCfgService {
	
	@Autowired
	private ISysWebCfgDao sysWebCfgDao;
	
	/**
	 * 获得前端配置数据对象
	 * @author liuzhi 2013-12-18
	 * @return
	 */
	public SysWebConfig getSysWebCfg(){
		return this.sysWebCfgDao.getSysWebCfg();
	}

	/**
	 * 保存前端配置
	 * @author liuzhi 2013-12-19
	 * @param serverCfg
	 */
	public void saveSysWebCfg(SysWebConfig webCfg) {
		this.sysWebCfgDao.saveSysWebCfg(webCfg);
	}
	
}
